package top.system.dept.mapper;

import org.springframework.stereotype.Repository;
import top.system.dept.pojo.Dept;

import java.util.List;

/**
 * @ClassName: DeptMapper
 * @Author: Amosen
 * @Since: 2021/5/22
 */

@Repository
public interface DeptMapper {

    public List<Dept> getAllDept();

    public Dept getDeptById(Integer deptId);

    public int updateDept(Dept dept);

    public int deleteDept(Dept dept);

    public int addDept(Dept dept);

}
